<div id="single_bottom_sidebar" class="noprint">
	<div class="subcategories">
		<div class="outer">
			<div class="inner">
				<?php
					echo get_parent_cat_name('<h3>Subcategories in ',' </h3>');
				?>
				
				<?php
						if(is_single()){						
							$this_category 	= get_category(get_parent_cat_id());
						}
						else {
							$this_category 	= get_category($cat);			
						}
								
						if($this_category->category_parent){
							$this_category = wp_list_categories('orderby=id&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->category_parent."&echo=0"); 				
						}
						else {
							$this_category = wp_list_categories('orderby=id&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID."&echo=0");				
						}		
									
						?>
							
						<ul>
							<?php echo $this_category; ?>
						</ul>
			</div><!--inner -->
		</div><!--outer -->
	</div><!--subcategories -->

	<div class="related">
		<div class="outer">
			<div class="inner">
				<h3>Related Items</h3>
				<?php widget_related_posts();?>
			</div><!-- inner -->
		</div><!-- outer -->
	</div><!-- related -->
	
</div><!--single_botom_sidebar -->